package misscl.online.slh_gym.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author theo
 * @since 2022/11/28 22:03
 */
@Getter
@Setter
@ApiModel(value = "Missing对象", description = "")
public class Missing implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("物品名称")
    private String name;

    @ApiModelProperty("发现时间")
    @TableField("find_time")
    private LocalDateTime findTime;

    @ApiModelProperty("发现者电话")
    @TableField("finder_phone")
    private String finderPhone;

    @ApiModelProperty("物品领走时间")
    @TableField("take_time")
    private LocalDateTime takeTime;

    @ApiModelProperty("物品状态：0遗失，1归还")
    private Integer status;


}
